package day03;

public    class breeder  {
public void breed(Animal a){
    a.drink();
    a.eat();
   if (a instanceof swimming){
       swimming s=(swimming)a;
       s.swimming();
   }

    }
}
